import React, { useRef, useState } from "react";
import { useGLTF } from "@react-three/drei";
import { GLTFLoader, GLTF } from "three/addons/loaders/GLTFLoader.js";
import * as THREE from "three";
export function Model({ model }: { model: GLTF }) {
  console.log(model);

  return (
    <primitive object={model.scene}>
    </primitive>
  );
}
